package com.corecloud.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.corecloud.entity.AafUserEntity;
import com.corecloud.mapper.oracle.AafUserMapper;
import com.corecloud.service.AafUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("aafUserService")
@DS("oracle")
public class AafUserServiceImpl implements AafUserService {

    @Autowired
    private AafUserMapper aafUserMapper;


    @Override
    public Map<String,Object> getInfoByUserName(String username) {
        return aafUserMapper.queryUserByUserNameSql(username);
    }

}